#ifndef MYPRECENT_H
#define MYPRECENT_H

#include<QPushButton>

QT_BEGIN_NAMESPACE
namespace Ui { class Myprecent; }
QT_END_NAMESPACE

class Myprecent : public QPushButton
{
    Q_OBJECT
public:
    Myprecent(QWidget *parent = nullptr);
    ~Myprecent();
private:
    void paintEvent(QPaintEvent *);
    void mousePressEvent(QMouseEvent*);
private:
    int m_degress;
};
#endif
